From bd769a8dd5c8e07af244ee765c57606dccfdffe9 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sat, 30 Sep 2006 11:35:02 +0100 Subject: [PATCH] [HVM][TOOLS] Improve warnign message when trying to create an HVM guest on a non-capable platform. Signed-off-by: Keir Fraser --- tools/python/xen/xend/image.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 1ee771b559..7e8eeb1ba4 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -244,7 +244,8 @@ class HVMImageHandler(ImageHandler): info = xc.xeninfo() if not 'hvm' in info['xen_caps']: - raise VmError("Not an HVM capable platform, we stop creating!") + raise VmError("HVM guest support is unavailable: is VT/AMD-V " + "supported by your CPU and enabled in your BIOS?") self.dmargs = self.parseDeviceModelArgs(imageConfig, deviceConfig) self.device_model = sxp.child_value(imageConfig, 'device_model') -- 2.30.2